/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Sube;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface ISubeDao {
    
    Sube getSingle(Sube sube);
    
    Sube getSingleById(Long id);
    
    Sube getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Sube> getList(Sube sube);
    
    List<Sube> getListByNamedQuery(String namedQuery,Object... parameters);
    
    int getCount(Sube sube);

    void add(Sube sube);

    void update(Sube sube);

    void delete(Sube sube);
}
